import 'package:flutter/material.dart';
import 'package:flutter_project/config/theme_color.dart';

class GoldDetailsListPage extends StatefulWidget {
  const GoldDetailsListPage({super.key});

  @override
  State<GoldDetailsListPage> createState() => _GoldDetailsListPageState();
}

class _GoldDetailsListPageState extends State<GoldDetailsListPage> {
  @override
  Widget build(BuildContext context) {
    return ListView.builder(
      itemCount: 1,
        itemBuilder: (BuildContext context, int index){
      return  Container(
        color: Colors.white,
        padding: const EdgeInsets.symmetric(vertical: 10,horizontal: 14),
        child: Row(
          mainAxisAlignment: MainAxisAlignment.spaceBetween,
          children: [
            Column(
              crossAxisAlignment: CrossAxisAlignment.start,
              children: [
                const Text('签到任务赠送',style: TextStyle(fontWeight: FontWeight.w500,fontSize: 16),),
                const SizedBox(height: 10,),
                Text('2024-01-22 10:06:53',style: TextStyle(fontSize: 14,color: ThemeColor.textColorSecond),),
              ],
            ),
           const Text('+30',style: TextStyle(color: Colors.red,fontWeight: FontWeight.w500,fontSize: 17),)
          ],
        ),
      );
    });
  }
}
